package server

import (
	"github.com/gin-gonic/gin"
	v1 "xiaofei-demo/api/service/v1"
	"xiaofei-demo/app/service/internal/service"
)

type R struct {
}

func NewHTTPServer(r *gin.Engine, srv *service.Service) error {
	v1.RegisterHTTPServer(r, srv)
	return nil
}
